package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.PageBean;
import com.darren.euc.entity.SourceOfChannel;

import net.sf.json.JSONObject;

public interface SourceOfChannelService {
    
	public SourceOfChannel save(SourceOfChannel sourceOfChannel);
    
	public SourceOfChannel update(SourceOfChannel sourceOfChannel);
	
	public void delete(SourceOfChannel sourceOfChannel);
    
	public List<SourceOfChannel> getAll();
    
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);
    
	public List<SourceOfChannel> queryByName(String sourceOfChannelName);
}